package achi.community.irla.beans;

import java.io.Serializable;
import javax.faces.bean.CustomScoped;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import javax.faces.bean.SessionScoped;

/**
 * <p>The TextFieldsBean class is the backing bean for the Text Entry
 * demonstration. It is used to store the values of the input fields.</p>
 */

@ManagedBean(name="addAchiBackBean")
@CustomScoped(value = "#{window}")
//@ManagedBean
//@RequestScoped
public class AddAchiBackBean implements Serializable{
    /**
     * The different kinds of text input fields.
     */

    private String title;
    private String description;
    private String category;
    private String subcategory;

    public String getTitle() {
        return title;
    }

    public void setSubcategory(String subcategory) {
        this.subcategory = subcategory;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getSubcategory() {
        return subcategory;
    }

    public String getDescription() {
        return description;
    }

    public String getCategory() {
        return category;
    }

}